#include "Point.h"

void Point::setX(double a)
{
	x=a;
}

double Point::getX()
{
	return (x);
}

void Point::setY(double b)
{
	y=b;
}

double Point::getY()
{
	return (y);
}

Point& Point::operator +=(Point const &p2)
{
	x+=p2.x;
	y+=p2.y;

  	return (*this);
}


